﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XRpgLibrary.CharacterClasses
{
    class DrawOrderCharacterComparer : IComparer<Character>
    {
       
        int IComparer<Character>.Compare(Character x, Character y)
        {
            return (int)(x.Sprite.Position.Y - y.Sprite.Position.Y);
        }
    }
}
